package com.lunhui.search.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@EnableTransactionManagement
@EnableScheduling
@ComponentScan({"com.lunhui.search","springfox"})
public class LunhuiSearchProviderApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(LunhuiSearchProviderApplication.class,"classpath:spring/*.xml");
        app.run(args);
    }

}
